class CreateAttendances < ActiveRecord::Migration
  def self.up
    create_table :attendances do |t|
      t.column :raid_id, :integer, :null => false
      t.column :character_id, :integer, :null=>false
      t.column :jointime, :datetime, :null=>false
      t.column :leavetime, :datetime, :null=>false
    end
  end

  def self.down
    drop_table :attendances
  end
end
